import React from 'react';
import App from './App';
import ReactDOM from 'react-dom';
import {BrowserRouter as Router} from "react-router-dom";
import {Switch, Route, Redirect} from 'react-router-dom';

ReactDOM.render(
    <Router>
        <Switch>
            <Route path='/thou-foam' component={App}/>
            <Route exact path="/" render={() => <Redirect to="/thou-foam"/>}/>
        </Switch>
        {/*<App/>,*/}
    </Router>,
    document.getElementById('root')
)
;